package com.ruoyi.tb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 管理员表对象 admin_tb
 * 
 * @author ruoyi
 * @date 2024-06-29
 */
public class AdminTb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long AdminId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String Username;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String Password;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String FullName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String Email;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String PhoneNumber;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String Role;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date CreatedDate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date LastLoginDate;

    public void setAdminId(Long AdminId) 
    {
        this.AdminId = AdminId;
    }

    public Long getAdminId() 
    {
        return AdminId;
    }
    public void setUsername(String Username) 
    {
        this.Username = Username;
    }

    public String getUsername() 
    {
        return Username;
    }
    public void setPassword(String Password) 
    {
        this.Password = Password;
    }

    public String getPassword() 
    {
        return Password;
    }
    public void setFullName(String FullName) 
    {
        this.FullName = FullName;
    }

    public String getFullName() 
    {
        return FullName;
    }
    public void setEmail(String Email) 
    {
        this.Email = Email;
    }

    public String getEmail() 
    {
        return Email;
    }
    public void setPhoneNumber(String PhoneNumber) 
    {
        this.PhoneNumber = PhoneNumber;
    }

    public String getPhoneNumber() 
    {
        return PhoneNumber;
    }
    public void setRole(String Role) 
    {
        this.Role = Role;
    }

    public String getRole() 
    {
        return Role;
    }
    public void setCreatedDate(Date CreatedDate) 
    {
        this.CreatedDate = CreatedDate;
    }

    public Date getCreatedDate() 
    {
        return CreatedDate;
    }
    public void setLastLoginDate(Date LastLoginDate) 
    {
        this.LastLoginDate = LastLoginDate;
    }

    public Date getLastLoginDate() 
    {
        return LastLoginDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("AdminId", getAdminId())
            .append("Username", getUsername())
            .append("Password", getPassword())
            .append("FullName", getFullName())
            .append("Email", getEmail())
            .append("PhoneNumber", getPhoneNumber())
            .append("Role", getRole())
            .append("CreatedDate", getCreatedDate())
            .append("LastLoginDate", getLastLoginDate())
            .toString();
    }
}
